package com._520it.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//驾驶员
@Setter@Getter
public class Driver {
    private Long id;

    private String name;                //驾驶员名称

    private String gender;              //性别
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;              //出生日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date firstIssueDate;        //初次领证日期

    private String drivingLicenceType;  //驾驶证类型

    private String drivingLicenceNumber;//驾驶证号码

    private String jobType;             //职业类别

}